package com.nt.train.service.factory;

import com.nt.train.service.Shape;
import org.springframework.stereotype.Service;

/**
 * 长方形
 * @author hlf
 * @version 1.0
 * @date 2022/8/5 18:17
 */
@Service
public class Rectangle implements Shape {

    @Override
    public void draw() {
        System.out.println("Inside Rectangle::draw() method.");
    }
}
